-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for PCI CAN cards for QEMU: Kvaser and CTU CAN FD #15161
Conversation
add Kvaser PCI card driver support, works only with QEMU now: https://www.qemu.org/docs/master/system/devices/can.html#examples-how-to-use-can-emulation-for-sja1000-based-boards Signed-off-by: p-szafonimateusz <[email protected]>
Add CTU CAN FD driver for qemu only: https://www.qemu.org/docs/master/system/devices/can.html#ctu-can-fd-support-examples Signed-off-by: p-szafonimateusz <[email protected]>
Documentation: add PCI CAN cards doc Signed-off-by: p-szafonimateusz <[email protected]>
[Experimental Bot, please feedback here] Yes, this PR appears to meet the basic NuttX requirements, but could be improved. While it addresses the key points, it lacks detail in several crucial areas. Areas for Improvement:
Example of Improved Testing Section:
By adding more detail and addressing the missing information, you can significantly strengthen the PR and make it easier for reviewers to understand and approve. |
Summary
drivers/can: add Kvaser PCI card driver (qemu only)
https://www.qemu.org/docs/master/system/devices/can.html#examples-how-to-use-can-emulation-for-sja1000-based-board
drivers/can: add CTU CAN FD driver (qemu only)
https://www.qemu.org/docs/master/system/devices/can.html#ctu-can-fd-support-examples
Documentation: add PCI CAN cards doc
Impact
We can now simulate CAN networks on Linux host with
vcan
.Testing
qemu x86_64 and qemu arm32 with host canutils
It works now only with QEMU, for physical cards there is missing bus timings configuration ignored by QEMU implementation.